<%@ page language="java" import="java.util.*,com.hs.core.utils.*" pageEncoding="utf-8"%>
<%
  List datalist = (List)request.getAttribute("summlist");
%>
 <html >
<head>
<%@ include file="../../include.jsp"%> 
<style>.tac{text-align:center}</style>
<script>
function  viewsumm(id){
	$("span[id^=cata_]").each(function(i){ 
       var viewid = $(this).attr("id");
       var openid = '#cata_'+id;
       var spanid = '#'+viewid;
       var buttid = '#'+id;
       if(openid == spanid){
       	  $(spanid).css('display','block');  
       }else{
          $(spanid).css('display','none');
       }
         
    }); 
}
</script>
</head>
<body style="overflow:auto;background:#fff8ee;">
 <dl class="treeWrapsumm1">
    <dt> </dt>
    <dd>
    <br>
       	<div id="allsumm"   style="width:99%;margin-left:10px;overflow:auto;border:0px solid #bdc0c3;">
       	<%if( null != datalist && datalist.size()>0){
       	     for(int i = 0;i<datalist.size();i++){
       	        Map data = (Map)datalist.get(i);
       	        String content = (String)data.get("content");
       	        String id =  data.get("id")+"";
       	        String cataname = (String)data.get("cataname");
       	        String catacode = (String)data.get("catacode");
       	        String tcmname = (String)data.get("tcmname");
       	        
       	 %>
       	 <br>
       	   <%if(i == 0){ %>
       	   <p align=center><font size=4 ><strong><%= tcmname %>综述</strong></font><br></p>
       	   
       	   <%} %>
       	     <font size=3><strong><%=catacode %>、<%=cataname %></strong></font>&nbsp;&nbsp;&nbsp;&nbsp;
       	     <a href="javaScript:viewsumm('<%=id%>');"><span id="butt_<%=id%>">查看</span></a>
       	     <br>
       	     <hr width=100% size=1 color=#660099 style="FILTER: alpha(opacity=100,finishopacity=0,style=1)">  </hr>
       	     <br>
       	     <span id="cata_<%=id%>" style="display:none"><%=content %></span>
       	     <br>
       	 
       	<%}}else{ %>
       	<font color=red>该疾病没有综述信息!</font>
       	<%} %>
       	</div>   
    </dd> 
</dl> 
</body>
</html>
